package com.dq.my_webservice;

import java.util.List;

public class _Main {

	public static void main(String[] args) {
		StudentServiceWS ssWS=new StudentServiceWS();
		StudentService ss=ssWS.getStudentServicePort();
		Student student=new Student();
		/*student.setName("huge");
		student.setAge(18);
		student.setId(12);
		ss.save(student);*/
		
		List<Student> list=ss.query();
		for(Student s:list){
			System.out.println(s.getId()+":"+s.getAge()+":"+s.getName());
		}
	}
}
